package com.zhifa.hdtyg_cdgl.dao;

import com.zhifa.hdtyg_cdgl.entity.SiteInformation;

import java.util.List;
import java.util.Map;

public interface SiteInformationMapper {
    int deleteByPrimaryKey(Integer siteId);
    int insert(SiteInformation record);
    int insertSelective(SiteInformation record);
    SiteInformation selectByPrimaryKey(Integer siteId);
    int updateByPrimaryKeySelective(SiteInformation record);
    int updateByPrimaryKeyWithBLOBs(SiteInformation record);
    int updateByPrimaryKey(SiteInformation record);
    List<SiteInformation> findAllSiteInformation(SiteInformation siteInformation);
    /* "name":$("#name").combobox("getValue"),
    "position":$("#position").combobox("getValue"),
    "purpose":$("#purpose").combobox("getValue"),
    "status":$("#status").combobox("getValue")*/
    List<String> findName();
    List<String> findPosition();
    List<String> findPurpose();
    List<String> findStatus();
    /**
     * 正在维修
     * @param siteId
     * @return
     */
    int updateStatusWeixiu(Map<String,Object>map);



}